package com.qf.openapi.web.master.dao;

import com.qf.openapi.web.master.entity.Rout;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoutDao {

    List<Rout> selectAll(@Param("gatewayApiName") String gatewayApiName, @Param("state") String state);

    int CountAll();

    int addRout(Rout rout);

    int updateRout(Rout rout);

    int deleteRout(@Param("id") Integer id);

    void insertListRout(@Param("routList") List<Rout> routList);
}
